package models;

import javax.persistence.Entity;

import play.db.jpa.Model;
@Entity
public class Question extends Model {
	
//    public Long id;隐含的id
	public String question;
	public String answer;

	public Question(String question, String answer) {
		//使用自增长id
		this.question = question;
		this.answer = answer;
	}
}
